Skip to content

fix(clerk-js): Fix undefined properties error in ConnectedAccountsMenu.tsx#4014

Merged
LekoArts merged 1 commit intomainfrom
nikospap/fix-undefined-properties-in-connected-accounts-menu
Aug 26, 2024
Merged

fix(clerk-js): Fix undefined properties error in ConnectedAccountsMenu.tsx#4014
LekoArts merged 1 commit intomainfrom
nikospap/fix-undefined-properties-in-connected-accounts-menu

Conversation

@nikospapcom
Copy link
Copy Markdown
Contributor

@nikospapcom nikospapcom commented Aug 23, 2024

Description

In this pr we are fixing undefined properties error in ConnectedAccountsMenu.tsx when Custom OAuth Provider is active and authenticatable is false

The error was:
Screenshot 2024-08-24 at 12 24 41 AM

The bug was that we populated the strategyToDisplayData with authenticatable instead of active Custom OAuth Providers.

Checklist

  • npm test runs as expected.
  • npm run build runs as expected.
  • (If applicable) JSDoc comments have been added or updated for any package exports
  • (If applicable) Documentation has been updated

Type of change

  • 🐛 Bug fix
  • 🌟 New feature
  • 🔨 Breaking change
  • 📖 Refactoring / dependency upgrade / documentation
  • other:

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Aug 23, 2024

🦋 Changeset detected

Latest commit: 6c34fa1

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 3 packages
Name Type
@clerk/clerk-js Patch
@clerk/chrome-extension Patch
@clerk/clerk-expo Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@nikospapcom nikospapcom changed the title fix(clerk-js): Fix undefined properties error in ConnectedAccountsMenu.tsx when authenticatable is false fix(clerk-js): Fix undefined properties error in ConnectedAccountsMenu.tsx Aug 23, 2024
@nikospapcom nikospapcom requested a review from Nikpolik August 23, 2024 21:48
@nikospapcom nikospapcom force-pushed the nikospap/fix-undefined-properties-in-connected-accounts-menu branch 2 times, most recently from d2ea385 to 1271dbc Compare August 24, 2024 09:40
Comment thread .changeset/famous-eggs-cough.md Outdated
@nikospapcom nikospapcom force-pushed the nikospap/fix-undefined-properties-in-connected-accounts-menu branch from 1271dbc to 6c34fa1 Compare August 26, 2024 07:11
@LekoArts LekoArts merged commit bc301a6 into main Aug 26, 2024
@LekoArts LekoArts deleted the nikospap/fix-undefined-properties-in-connected-accounts-menu branch August 26, 2024 07:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants